package com.bjsxt.pojo;

import java.util.ArrayList;
import java.util.List;

public class Users {
    private Integer userid;

    private Integer staffid;

    private String username;

    private String userpwd;

    private Integer roleid;
    
    private Roles roles;
    
	private List<Menus> menus = new ArrayList<>();
	
	private List<Funcs> funcs = new ArrayList<>();
	
	public Roles getRoles() {
		return roles;
	}

	public void setRoles(Roles roles) {
		this.roles = roles;
	}

	public List<Menus> getMenus() {
		return menus;
	}

	public void setMenus(List<Menus> menus) {
		this.menus = menus;
	}

	public List<Funcs> getFuns() {
		return funcs;
	}

	public void setFuns(List<Funcs> funcs) {
		this.funcs = funcs;
	}


    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public Integer getStaffid() {
        return staffid;
    }

    public void setStaffid(Integer staffid) {
        this.staffid = staffid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getUserpwd() {
        return userpwd;
    }

    public void setUserpwd(String userpwd) {
        this.userpwd = userpwd == null ? null : userpwd.trim();
    }

    public Integer getRoleid() {
        return roleid;
    }

    public void setRoleid(Integer roleid) {
        this.roleid = roleid;
    }
}